package day04;

import java.util.Scanner;

public class CommanBySwitch {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入选择");
        int comman = sc.nextInt();
        switch (comman){
            case 1:
                System.out.println("存款业务");
                break;
            case 2:
                System.out.println("取款业务");
                break;
            case 3:
                System.out.println("查询余额");
                break;
            case 4:
                System.out.println("人工服务");
                break;
            default:
                System.out.println("输入错误请重新输入");
                break;

        }

    }
}
